package com.kaifamiao.high.reflect;

import java.util.List;

/**
 * @author lucien-ma
 * @date 2021/9/27
 * @apiNote
 */
public interface JDBCHelper<T> {

    List<T> selectList(String sql, Class clazz, Object... params);

    T selectOne(String sql, Class clazz, Object... params);

    int insert(String sql, Object... params);

    int update(String sql, Object... params);

    int delete(String sql, Object... params);
}
